function [ flag ] = mx_eyelink_event_type_flags( )
%MX_EYELINK_EVENT_TYPE_FLAGS After at least one button or eye event has been 
% read, can be used to check what type of events will be available.
%
% Returns:
% A set of bit flags: LEFTEYE_EVENTS if has left eye events. RIGHTEYE_EVENTS 
% if has right eye events. BLINK_EVENTS if has blink events. FIXATION_EVENTS 
% if has fixation events. FIXUPDATE_EVENTS if has fixation updates. 
% SACCADE_EVENTS if has saccade events. MESSAGE_EVENTS if has message events. 
% BUTTON_EVENTS if has button events. INPUT_EVENTS if has input port events.
%
% LEFTEYE_EVENTS   0x8000 /*!< has left eye events */
% RIGHTEYE_EVENTS  0x4000 /*!< has right eye events */
% BLINK_EVENTS     0x2000 /*!< has blink events */
% FIXATION_EVENTS  0x1000 /*!< has fixation events */
% FIXUPDATE_EVENTS 0x0800 /*!< has fixation updates */
% SACCADE_EVENTS   0x0400 /*!< has saccade events */
% MESSAGE_EVENTS   0x0200 /*!< has message events */
% BUTTON_EVENTS    0x0040 /*!< has button events */
% INPUT_EVENTS     0x0020 /*!< has input port events */
%----------------------------------------------------------------------------
% Copyright Eduardo Aponte 2013
% aponteeduardo@gmail.com